package org.yiqixue.accounts.constants;

public class TransactionConstants {

    // 交易类型
    public static final String DEPOSIT = "存款";
    public static final String WITHDRAWAL = "取款";
    public static final String TRANSFER = "转账";
    public static final String PAYMENT = "付款";

    // 交易状态
    public static final String STATUS_PENDING = "挂起";
    public static final String STATUS_COMPLETED = "完成";
    public static final String STATUS_FAILED = "失败";

    // 消息代码
    public static final String STATUS_201 = "201";
    public static final String MESSAGE_201 = "交易创建成功";
    public static final String STATUS_200 = "200";
    public static final String MESSAGE_200 = "请求处理成功";
    public static final String STATUS_417 = "417";
    public static final String MESSAGE_417_UPDATE = "更新交易失败。请稍后再试";
    public static final String STATUS_500 = "500";
    public static final String MESSAGE_500 = "系统内部错误";
} 